package com.peycard.persistence.dao.local;
import java.util.List;

import javax.ejb.Local;

import com.peycard.persistence.PersistenceException;
import com.peycard.persistence.entities.ReaderList;

@Local
public interface ReaderListDAOLocal extends GenericDAO<ReaderList, Long>{

	ReaderList save(String noSerie, String version, String security,
			String encKey, String active, String user, String idCtl)
			throws PersistenceException;

	ReaderList update(String noSerie, String version, String security,
			String encKey, String active, String user, String idCtl)
			throws PersistenceException;

	void setDown(String idReader, String userName) throws PersistenceException;

	List<ReaderList> getAll() throws PersistenceException;

	List<ReaderList> getNV() throws PersistenceException;

}
